﻿using Volo.Abp.Domain.Repositories;
using Demo.UserService.Entities;
using Demo.UserService.Services.Dtos;


namespace Demo.UserService.Repositorys
{
    /// <summary>
    /// 
    /// </summary>
    public interface IUserInfoRepository : IRepository<ShopUserInfo, Guid>
    {

        /// <summary>
        /// 注册会员
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<ShopUserInfo> AddUserAsync(UserInfoDto dto);

    }
}
